<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<!-- 
<meta http-equiv="refresh" content="120;meuEstacionamento.jsf"/>  

-->

	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />



	<h:outputStylesheet library="css" name="topo.css" />
	<h:outputStylesheet library="css" name="estilo.css" />
	<h:outputStylesheet library="css" name="rodapeLink.css" />
	<h:outputStylesheet name="cadastro.css" library="css" />
	
	
		<script type="text/javascript">
function UR_Start() 
{
    UR_Nu = new Date;
    UR_Indhold = showFilled(UR_Nu.getHours()) + ":" + showFilled(UR_Nu.getMinutes()) + ":" + showFilled(UR_Nu.getSeconds());
    document.getElementById("ur").innerHTML = UR_Indhold;
    setTimeout("UR_Start()",1000);
}
function showFilled(Value) 
{
    return (Value > 9) ? "" + Value : "0" + Value;
}

</script>


</h:head>
<h:body onload="UR_Start() ">
	<div id="container">
		<div id="topo">
			<ui:insert name="topo">
				<ui:include src="/restrito/topo.xhtml" />
			</ui:insert>
		</div>


		<div id="corpo" style="height: 700px;">
		
		
			<div class="menuLateral">
						
				<div class="cadastro">					
					<h:form>
						<p:growl id="messages" autoUpdate="true" life="10000" />

						<p:panelMenu style="width:190px;">

							<p:submenu label="Meu estacionamento">
								<p:menuitem value="Principal"
									action="/publico/meuEstacionamento.xhtml" icon="ui-icon-home" />

								<p:menuitem value="Meu cadastro"
									action="#{estacionamentoBean.meuCadastro}" icon="ui-icon-pencil" />

								<p:menuitem value="Minhas regras" icon="ui-icon-script"
									action="#{estacionamentoBean.definirRegra}" />
									
									<p:menuitem value="Alterar senha"
									action="/publico/alteraSenhaEstac.xhtml" icon="ui-icon-unlocked" />									
									
								<p:menuitem value="Excluir conta"
									url="http://www.primefaces.org" icon="ui-icon-trash" />

								<p:menuitem value="Suporte"
									url="http://www.primefaces.org/documentation.html"
									icon="ui-icon-wrench" />

							</p:submenu>
							
							<p:submenu label="Reserva">
								<p:menuitem value="Principal"
									action="/publico/meuEstacionamento.xhtml" icon="ui-icon-home" />
								<p:menuitem value="Efetuar"
									action="/publico/efetuareserva.xhtml" icon="ui-icon-disk" />
								<p:menuitem value="Finalizar"
									action="/publico/efetuareserva.xhtml" icon="ui-icon-check" />
								<p:menuitem value="Consultar" actionListener="#"
									icon="ui-icon-search" />
								<p:menuitem value="Editar" action="/publico/editareserva.xhtml"
									icon="ui-icon-pencil" />
								<p:menuitem value="Cancelar" actionListener="#"
									icon="ui-icon-cancel" />
								<p:menuitem value="Excluir" action="excluireserva.xhtml"
									icon="ui-icon-trash" />
							</p:submenu>
							<p:submenu label="Histórico">
								<p:menuitem value="Delete" actionListener="#" ajax="false"
									icon="ui-icon-close" />
							</p:submenu>
						</p:panelMenu>
					</h:form>
				</div>
			</div>
			<div id="linha"></div>
			
			
			<div class="painelLateral">
			
		
				<ui:insert name="corpo" />
			</div>
		</div>

		<div id="rodape">
			<ui:insert name="rodape">
				<ui:include src="/templates/rodape_link.xhtml" />
			</ui:insert>
		</div>
	</div>
</h:body>
</html>